package com.sgcc.operate.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sgcc.common.core.annotation.Excel;
import com.sgcc.common.core.web.domain.BaseEntity;

/**
 * 活动趋势统计对象 o_acti_stat
 * 
 * @author sgcc
 * @date 2021-03-31
 */
public class OActiStat extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 统计日期 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "统计日期", width = 30, dateFormat = "yyyy-MM-dd  HH:mm:ss")
    private Date statDate;

    /** 统计类型 */
    @Excel(name = "统计类型")
    private String stattype;

    /** 所属地市 */
    @Excel(name = "所属地市")
    private String upAreaNo;

    /** 所属区县 */
    @Excel(name = "所属区县")
    private String areaNo;

    /** 浏览数 */
    @Excel(name = "浏览数")
    private BigDecimal nLog;

    /** 参与数 */
    @Excel(name = "参与数")
    private BigDecimal nPart;

    /** 获奖数 */
    @Excel(name = "获奖数")
    private BigDecimal nPrize;

    /** 分享数 */
    @Excel(name = "分享数")
    private BigDecimal nShare;

    /** UV数 */
    @Excel(name = "UV数")
    private BigDecimal nUv;

    /** 活动id */
    @Excel(name = "活动id")
    private String actiId;

    /** 核销数 */
    @Excel(name = "核销数")
    private BigDecimal nCancel;

    /** 供电单位编码 */
    @Excel(name = "供电单位编码")
    private String orgNo;


    private String timeRange;

    private String type;

    private Date beginDate;

    private Date endDate;

    public void setStatDate(Date statDate) 
    {
        this.statDate = statDate;
    }

    public Date getStatDate() 
    {
        return statDate;
    }
    public void setStattype(String stattype) 
    {
        this.stattype = stattype;
    }

    public String getStattype() 
    {
        return stattype;
    }
    public void setUpAreaNo(String upAreaNo) 
    {
        this.upAreaNo = upAreaNo;
    }

    public String getUpAreaNo() 
    {
        return upAreaNo;
    }
    public void setAreaNo(String areaNo) 
    {
        this.areaNo = areaNo;
    }

    public String getAreaNo() 
    {
        return areaNo;
    }
    public void setnLog(BigDecimal nLog) 
    {
        this.nLog = nLog;
    }

    public BigDecimal getnLog() 
    {
        return nLog;
    }
    public void setnPart(BigDecimal nPart) 
    {
        this.nPart = nPart;
    }

    public BigDecimal getnPart() 
    {
        return nPart;
    }
    public void setnPrize(BigDecimal nPrize) 
    {
        this.nPrize = nPrize;
    }

    public BigDecimal getnPrize() 
    {
        return nPrize;
    }
    public void setnShare(BigDecimal nShare) 
    {
        this.nShare = nShare;
    }

    public BigDecimal getnShare() 
    {
        return nShare;
    }
    public void setnUv(BigDecimal nUv) 
    {
        this.nUv = nUv;
    }

    public BigDecimal getnUv() 
    {
        return nUv;
    }
    public void setActiId(String actiId) 
    {
        this.actiId = actiId;
    }

    public String getActiId() 
    {
        return actiId;
    }
    public void setnCancel(BigDecimal nCancel) 
    {
        this.nCancel = nCancel;
    }

    public BigDecimal getnCancel() 
    {
        return nCancel;
    }
    public void setOrgNo(String orgNo) 
    {
        this.orgNo = orgNo;
    }

    public String getOrgNo() 
    {
        return orgNo;
    }


    public String getTimeRange() {
        return timeRange;
    }

    public void setTimeRange(String timeRange) {
        this.timeRange = timeRange;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Date getBeginDate() {
        return beginDate;
    }

    public void setBeginDate(Date beginDate) {
        this.beginDate = beginDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("statDate", getStatDate())
            .append("stattype", getStattype())
            .append("upAreaNo", getUpAreaNo())
            .append("areaNo", getAreaNo())
            .append("nLog", getnLog())
            .append("nPart", getnPart())
            .append("nPrize", getnPrize())
            .append("nShare", getnShare())
            .append("nUv", getnUv())
            .append("actiId", getActiId())
            .append("nCancel", getnCancel())
            .append("orgNo", getOrgNo())
            .toString();
    }
}
